x86/emul: Further simplify DstBitBase handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 14 Dec 2016 10:58:08 +0000 (10:58 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 14 Dec 2016 18:23:51 +0000 (18:23 +0000)
commit47591e012f08f95858d444641e773f101ba41e21
treed461361e68bc4f18e820cad1a423c1e9b7a6a626
parent713b23ccd1e6c9188b9beb52494e4a4196329056
x86/emul: Further simplify DstBitBase handling

The masking of src.val is common to both paths.  Move it later and simplify
the entry condition for adjusting the memory operand.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c